package com.ruoyi.jksd.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员-收支明细对象 xy_balance_log
 * 
 * @author ruoyi
 * @date 2024-05-26
 */
public class XyBalanceLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long uid;

    /** 交易对象id */
    @Excel(name = "交易对象id")
    private String sid;

    /** 交易单号 */
    @Excel(name = "交易单号")
    private String oid;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal num;

    /** 交易类型 0系统 1充值 2交易 3返佣 4强制交易 5推广返佣 6下级交易返佣  7提现 */
    @Excel(name = "交易类型 0系统 1充值 2交易 3返佣 4强制交易 5推广返佣 6下级交易返佣  7提现")
    private Long type;

    /** 收入1 支出2 */
    @Excel(name = "收入1 支出2")
    private Long status;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private Long addtime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long fLv;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setSid(String sid) 
    {
        this.sid = sid;
    }

    public String getSid() 
    {
        return sid;
    }
    public void setOid(String oid) 
    {
        this.oid = oid;
    }

    public String getOid() 
    {
        return oid;
    }
    public void setNum(BigDecimal num) 
    {
        this.num = num;
    }

    public BigDecimal getNum() 
    {
        return num;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAddtime(Long addtime) 
    {
        this.addtime = addtime;
    }

    public Long getAddtime() 
    {
        return addtime;
    }
    public void setfLv(Long fLv) 
    {
        this.fLv = fLv;
    }

    public Long getfLv() 
    {
        return fLv;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("sid", getSid())
            .append("oid", getOid())
            .append("num", getNum())
            .append("type", getType())
            .append("status", getStatus())
            .append("addtime", getAddtime())
            .append("fLv", getfLv())
            .toString();
    }
}
